<template>
  <view>
    <u-empty
      class="nodata"
      mode="list"
      text="暂无数据"
      icon="https://ya30images.hbwlife.com/wxmp/default-pic.png"
    >
    </u-empty>
  </view>
</template>

<script>
import { request, requestData } from '@/utils/http.js'
export default {
  data() {
    return {}
  },
  onLoad() {
    this.init()
  },
  methods: {
    init() {
      request('/user/message/list', {})
        .then((res) => {
          if (res.code == 0) {
            console.log(res)
          } else {
          }
        })
        .catch((err) => {
          console.log(err)
        })
    },
  },
}
</script>

<style scoped>
::v-deep .u-empty image {
  width: 100rpx !important;
  height: 100rpx !important;
  margin-top: 150rpx !important;
}
</style>
